/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qhq.entity;

import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.google.common.collect.Lists;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 学院表Entity
 * @author 秦华权
 * @version 2017-11-28
 */
public class SchoolParent extends DataEntity<SchoolParent> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 学院名称
	private String schoolId;		// 学校名称
	private String deptId;		// 学部名称
	private List<PrentSystemlist> prentSystemlistList = Lists.newArrayList();		// 子表列表
	
	public SchoolParent() {
		super();
	}

	public SchoolParent(String id){
		super(id);
	}

	@Length(min=0, max=100, message="学院名称长度必须介于 0 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=64, message="学校名称长度必须介于 0 和 64 之间")
	public String getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	
	@Length(min=0, max=64, message="学部名称长度必须介于 0 和 64 之间")
	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	
	public List<PrentSystemlist> getPrentSystemlistList() {
		return prentSystemlistList;
	}

	public void setPrentSystemlistList(List<PrentSystemlist> prentSystemlistList) {
		this.prentSystemlistList = prentSystemlistList;
	}
}